﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace groupAnalyzer
{
    public abstract class BaseView
    {
        private groupAnalyzer.model.AbstractElementLdap realObject;

        protected groupAnalyzer.model.AbstractElementLdap RealObject
        {
            get
            {
                return this.realObject;
            }
        }
       
        public BaseView(groupAnalyzer.model.AbstractElementLdap realObject)
        {
            this.realObject = realObject;
        }

        public virtual IList<BaseView> Items
        {
            get
            {
                return new List<BaseView>();
            }
        }

        public string Name
        {
            get
            {
                return this.realObject.Name;
            }
        }

        public string FQDN
        {
            get
            {
                return this.realObject.FQDN;
            }
        }
    }
}
